home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple AUX 3.0
/
Apple AUX 3.0.iso
/
MacInstallFiles
/
Printing
/
LaserWriter
/
LaserWriter.rsrc
/
bin.rsrc_DRVR_-8192_.XPrint.txt
< prev
next >
Wrap
Text File
|
1991-04-25
|
48KB
|
867 lines
# name: .Print
# flags: 0x0400 (ENABLE_CONTROL)
# delay: 0
# event mask: 0x0000
# menu id: 0
# open label: 0000
# prime label: 003C
# control label: 006C
# status label: 003C
# close label: 0040
open:
00000000 137C 0046 0007 move.b [A1 + 0x7], 0x46 /* 'F' */
00000006 45F8 0944 lea.l A2, [0x00000944 /* PrintErr */]
0000000A 425A clr.w [A2]+
0000000C 08D2 0005 bset.b [A2], 0x5
00000010 594F subq.w A7, 4
00000012 3F38 0210 move.w -[A7], [0x00000210 /* BootDrive */]
00000016 3F3C E000 move.w -[A7], 0xE000
0000001A 4227 clr.b -[A7]
0000001C 4EBA 022C jsr [PC + 0x22C /* 0000024A */]
00000020 08D2 0004 bset.b [A2], 0x4
00000024 4A1F tst.b [A7]+
00000026 6604 bne +0x6 /* 0000002C */
00000028 0892 0004 bclr.b [A2], 0x4
label0000002C:
0000002C 089A 0003 bclr.b [A2]+, 0x3
00000030 14BC 00FD move.b [A2], 0xFD
00000034 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+
00000038 7000 moveq.l D0, 0x00
0000003A 4E75 rts
prime:
status:
0000003C 7000 moveq.l D0, 0x00
0000003E 4E75 rts
close:
00000040 45F8 0946 lea.l A2, [0x00000946 /* ChooserBits */]
00000044 0CAA FFFF FFFF 0002 cmpi.l [A2 + 0x2], 0xFFFFFFFF
0000004C 6704 beq +0x6 /* 00000052 */
0000004E 4EBA 00F0 jsr [PC + 0xF0 /* 00000140 */]
label00000052:
00000052 3038 0952 move.w D0, [0x00000952 /* PrRefNum */]
00000056 6B0A bmi +0xC /* 00000062 */
00000058 0812 0004 btst.b [A2], 0x4
0000005C 6704 beq +0x6 /* 00000062 */
0000005E 3F00 move.w -[A7], D0
00000060 A99A syscall CloseResFile
label00000062:
00000062 089A 0004 bclr.b [A2]+, 0x4
00000066 50DA st [A2]+
00000068 7000 moveq.l D0, 0x00
0000006A 4E75 rts
control:
0000006C 45FA 001E lea.l A2, [PC + 0x1E /* 0000008C, value 0x43FA0032 */]
00000070 610E bsr +0x10 /* 00000080 */
00000072 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
00000076 3140 0010 move.w [A0 + 0x10], D0
0000007A 2F38 08FC move.l -[A7], [0x000008FC /* JIODone */]
0000007E 4E75 rts
fn00000080:
00000080 48E7 00C0 movem.l -[A7], A0,A1
00000084 4E92 jsr [A2]
00000086 4CDF 0300 movem.l A0,A1, [A7]+
0000008A 4E75 rts
0000008C 43FA 0032 lea.l A1, [PC + 0x32 /* 000000C0, value 0x40003, cstring "" */]
00000090 3228 001A move.w D1, [A0 + 0x1A]
00000094 45E8 001C lea.l A2, [A0 + 0x1C]
label00000098:
00000098 9259 sub.w D1, [A1]+
0000009A 6B0E bmi +0x10 /* 000000AA */
0000009C B259 cmp.w D1, [A1]+
0000009E 6E0A bgt +0xC /* 000000AA */
label000000A0:
000000A0 D241 add.w D1, D1
000000A2 3231 1000 move.w D1, [A1 + D1.w]
000000A6 4EF1 1000 jmp [A1 + D1.w]
label000000AA:
000000AA 70EF moveq.l D0, 0xFFFFFFEF
000000AC 4A78 0944 tst.w [0x00000944 /* PrintErr */]
000000B0 6706 beq +0x8 /* 000000B8 */
000000B2 0C40 FFE5 cmpi.w D0, 0xFFE5
000000B6 6604 bne +0x6 /* 000000BC */
label000000B8:
000000B8 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
label000000BC:
000000BC 4E75 rts
000000BE 4E75 rts
000000C0 0004 0003 ori.b D4, 0x3
000000C4 0008 0028 ori.b A0, 0x28 /* '(' */
000000C8 FFFA .invalid <<F/7/7>>
000000CA 0034 2878 0948 ori.b [A4 + <<invalid base displacement size>>], 0x78 /* 'x' */
000000D0 6100 0160 bsr +0x162 /* 00000232 */
000000D4 2F1A move.l -[A7], [A2]+
000000D6 2F1A move.l -[A7], [A2]+
000000D8 2F1A move.l -[A7], [A2]+
000000DA 4EBA 03BE jsr [PC + 0x3BE /* 0000049A */]
000000DE 4A78 0944 tst.w [0x00000944 /* PrintErr */]
000000E2 6F06 ble +0x8 /* 000000EA */
000000E4 08F8 0007 0944 bset.b [0x00000944 /* PrintErr */], 0x7
label000000EA:
000000EA 4E75 rts
000000EC 205A movea.l A0, [A2]+
000000EE 201A move.l D0, [A2]+
000000F0 221A move.l D1, [A2]+
000000F2 43FA 001A lea.l A1, [PC + 0x1A /* 0000010E, value 0xCA00F8, cstring "" */]
000000F6 60A8 bra -0x56 /* 000000A0 */
000000F8 43FA 0006 lea.l A1, [PC + 0x6 /* 00000100, value 0x10004, cstring "" */]
000000FC 321A move.w D1, [A2]+
000000FE 6098 bra -0x66 /* 00000098 */
00000100 0001 0004 ori.b D1, 0x4
00000104 0016 008C ori.b [A6], 0x8C
00000108 00B2 0068 003C 00CA ori.l [A2 + D0.w - 0x54], 0x68003C /* 'h\0<' */
00000110 00F8 .incomplete
00000112 FF9C .invalid <<F/6/7>>
00000114 FF9C .invalid <<F/6/7>>
00000116 FF9C .invalid <<F/6/7>>
00000118 FF9C .invalid <<F/6/7>>
0000011A 4EBA 0204 jsr [PC + 0x204 /* 00000320 */]
0000011E 4A78 0944 tst.w [0x00000944 /* PrintErr */]
00000122 660E bne +0x10 /* 00000132 */
00000124 2878 0948 movea.l A4, [0x00000948]
00000128 50EC 0006 st [A4 + 0x6]
0000012C 197C 0002 0007 move.b [A4 + 0x7], 0x2
label00000132:
00000132 4A78 0944 tst.w [0x00000944 /* PrintErr */]
00000136 6F06 ble +0x8 /* 0000013E */
00000138 08F8 0007 0944 bset.b [0x00000944 /* PrintErr */], 0x7
label0000013E:
0000013E 4E75 rts
fn00000140:
00000140 2038 0948 move.l D0, [0x00000948]
00000144 6710 beq +0x12 /* 00000156 */
00000146 2840 movea.l A4, D0
00000148 592C 0007 subq.b [A4 + 0x7], 4
0000014C 6602 bne +0x4 /* 00000150 */
0000014E 6140 bsr +0x42 /* 00000190 */
label00000150:
00000150 197C 0006 0007 move.b [A4 + 0x7], 0x6
label00000156:
00000156 4EBA 02C6 jsr [PC + 0x2C6 /* 0000041E */]
0000015A 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
0000015E 0C40 8080 cmpi.w D0, 0x8080
00000162 6606 bne +0x8 /* 0000016A */
00000164 08B8 0007 0944 bclr.b [0x00000944 /* PrintErr */], 0x7
label0000016A:
0000016A 4E75 rts
fn0000016C:
0000016C 2038 0948 move.l D0, [0x00000948]
00000170 6710 beq +0x12 /* 00000182 */
00000172 2840 movea.l A4, D0
00000174 197C 0003 0007 move.b [A4 + 0x7], 0x3
0000017A 426C 0008 clr.w [A4 + 0x8]
0000017E 4EBA 0214 jsr [PC + 0x214 /* 00000394 */]
label00000182:
00000182 4A78 0944 tst.w [0x00000944 /* PrintErr */]
00000186 6F06 ble +0x8